projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5a8e0f
)
(tex-mode): Check for documentclass like documentstyle.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 6 Aug 1994 03:22:23 +0000
(
03:22
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 6 Aug 1994 03:22:23 +0000
(
03:22
+0000)
lisp/textmodes/tex-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/tex-mode.el
b/lisp/textmodes/tex-mode.el
index 103ebda9f67751402af75130849c5cf07d973d9f..c8f6b53c83845e6530f3d78ccf10a8a3fb867da6 100644
(file)
--- a/
lisp/textmodes/tex-mode.el
+++ b/
lisp/textmodes/tex-mode.el
@@
-261,7
+261,7
@@
says which mode to use."
(beginning-of-line)
(search-forward "%" search-end t))))))
(if (and slash (not comment))
- (setq mode (if (looking-at "documentstyle")
+ (setq mode (if (looking-at "documentstyle
\\|documentclass
")
(if (looking-at "documentstyle{slides}")
'slitex-mode
'latex-mode)